package com.shop.zkmall.app.service.a;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.zkmall.app.domain.CereBuyerBalanceDetail;
import com.shop.zkmall.app.domain.req.BalanceDetailReq;
import com.shop.zkmall.app.utils.R;
import com.shop.zkmall.commons.domain.buyer.CereBuyerUser;

import java.math.BigDecimal;

/**
 * <p>
 * 余额明细表（用户资金流水） 服务类
 * </p>
 *
 * @author ${author}
 * @since 2025-11-25
 */
public interface ICereBuyerBalanceDetailService extends IService<CereBuyerBalanceDetail> {



    void addBalanceDetail(CereBuyerUser cereBuyerUser, BigDecimal totalPrice, String remark);

    void subtractBalanceDetail(CereBuyerUser cereBuyerUser, BigDecimal totalPrice, String s);


    R<BigDecimal> getBalance();

    R<?> balanceDetail(BalanceDetailReq param);
}
